.class LPkUwx/Axwse/MCuFV/gexVi;
.super Ljava/lang/Object;

# interfaces
.implements LwFZra/vpTWk;


# instance fields
.field final synthetic HnVpw:LwFZra/OeMtE;

.field final synthetic MPHoL:LPkUwx/Axwse/MCuFV/mGQVz;

.field MTMCy:Z

.field final synthetic PWrBt:LPkUwx/Axwse/MCuFV/WTFSf;

.field final synthetic mxJXT:LwFZra/AAVAr;


# direct methods
.method constructor <init>(LPkUwx/Axwse/MCuFV/mGQVz;LwFZra/OeMtE;LPkUwx/Axwse/MCuFV/WTFSf;LwFZra/AAVAr;)V
    .locals 0

    iput-object p1, p0, LPkUwx/Axwse/MCuFV/gexVi;->MPHoL:LPkUwx/Axwse/MCuFV/mGQVz;

    iput-object p2, p0, LPkUwx/Axwse/MCuFV/gexVi;->HnVpw:LwFZra/OeMtE;

    iput-object p3, p0, LPkUwx/Axwse/MCuFV/gexVi;->PWrBt:LPkUwx/Axwse/MCuFV/WTFSf;

    iput-object p4, p0, LPkUwx/Axwse/MCuFV/gexVi;->mxJXT:LwFZra/AAVAr;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public SxPEt(LwFZra/UulfZ;J)J
    .locals 6

    const-wide/16 v0, -0x1

    const/4 v3, 0x1

    :try_start_0
    iget-object v2, p0, LPkUwx/Axwse/MCuFV/gexVi;->HnVpw:LwFZra/OeMtE;

    invoke-interface {v2, p1, p2, p3}, LwFZra/OeMtE;->SxPEt(LwFZra/UulfZ;J)J
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-wide v4

    cmp-long v2, v4, v0

    if-nez v2, :cond_2

    iget-boolean v2, p0, LPkUwx/Axwse/MCuFV/gexVi;->MTMCy:Z

    if-nez v2, :cond_0

    iput-boolean v3, p0, LPkUwx/Axwse/MCuFV/gexVi;->MTMCy:Z

    iget-object v2, p0, LPkUwx/Axwse/MCuFV/gexVi;->mxJXT:LwFZra/AAVAr;

    invoke-interface {v2}, LwFZra/AAVAr;->close()V

    :cond_0
    move-wide v4, v0

    :goto_0
    return-wide v4

    :catch_0
    move-exception v0

    iget-boolean v1, p0, LPkUwx/Axwse/MCuFV/gexVi;->MTMCy:Z

    if-nez v1, :cond_1

    iput-boolean v3, p0, LPkUwx/Axwse/MCuFV/gexVi;->MTMCy:Z

    iget-object v1, p0, LPkUwx/Axwse/MCuFV/gexVi;->PWrBt:LPkUwx/Axwse/MCuFV/WTFSf;

    invoke-interface {v1}, LPkUwx/Axwse/MCuFV/WTFSf;->tvPZJ()V

    :cond_1
    throw v0

    :cond_2
    iget-object v0, p0, LPkUwx/Axwse/MCuFV/gexVi;->mxJXT:LwFZra/AAVAr;

    invoke-interface {v0}, LwFZra/AAVAr;->lSdme()LwFZra/UulfZ;

    move-result-object v1

    invoke-virtual {p1}, LwFZra/UulfZ;->andiF()J

    move-result-wide v2

    sub-long/2addr v2, v4

    move-object v0, p1

    invoke-virtual/range {v0 .. v5}, LwFZra/UulfZ;->JPggB(LwFZra/UulfZ;JJ)LwFZra/UulfZ;

    iget-object v0, p0, LPkUwx/Axwse/MCuFV/gexVi;->mxJXT:LwFZra/AAVAr;

    invoke-interface {v0}, LwFZra/AAVAr;->msXvj()LwFZra/AAVAr;

    goto :goto_0
.end method

.method public close()V
    .locals 2

    iget-boolean v0, p0, LPkUwx/Axwse/MCuFV/gexVi;->MTMCy:Z

    if-nez v0, :cond_0

    const/16 v0, 0x64

    sget-object v1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    invoke-static {p0, v0, v1}, LPkUwx/Axwse/NmOez;->dOFGj(LwFZra/vpTWk;ILjava/util/concurrent/TimeUnit;)Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    iput-boolean v0, p0, LPkUwx/Axwse/MCuFV/gexVi;->MTMCy:Z

    iget-object v0, p0, LPkUwx/Axwse/MCuFV/gexVi;->PWrBt:LPkUwx/Axwse/MCuFV/WTFSf;

    invoke-interface {v0}, LPkUwx/Axwse/MCuFV/WTFSf;->tvPZJ()V

    :cond_0
    iget-object v0, p0, LPkUwx/Axwse/MCuFV/gexVi;->HnVpw:LwFZra/OeMtE;

    invoke-interface {v0}, LwFZra/OeMtE;->close()V

    return-void
.end method

.method public ecoRZ()LwFZra/kEGWw;
    .locals 1

    iget-object v0, p0, LPkUwx/Axwse/MCuFV/gexVi;->HnVpw:LwFZra/OeMtE;

    invoke-interface {v0}, LwFZra/OeMtE;->ecoRZ()LwFZra/kEGWw;

    move-result-object v0

    return-object v0
.end method
